/*
 * All rights Reserved, Designed By www.goldbeacon.cn
 * @Title:  demo-springboot
 * @Package com.chenzhengrong.demospringboot.controlloer
 * @author: chenzhengrong
 * @date:   2022/8/19 13:13
 * @version V1.0
 * Copyright © 2022 www.goldbeacon.cn. All Rights Reserved.
 * 注意：本内容仅限于湖南金烽信息科技有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.chenzhengrong.demospringboot.controlloer;

import com.chenzhengrong.demospringboot.annotation.Log;
import com.chenzhengrong.demospringboot.queue.OperateQueueConsumer;
import com.chenzhengrong.demospringboot.service.OperatelogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenzhengrong
 * @title: OperatelogController
 * @description: OperatelogController
 * @date 2022/8/19 13:13
 */
@Api(tags = "hello测试AOP")
@RestController
public class OperatelogController {


    @Log(desc = "hello测试")
    @ApiOperation("hello测试")
    @GetMapping("/helloaop/{str}")
    public String hello(@PathVariable("str") String str) {
        return "hello";
    }

}
